import { executeSql } from "../util/db.js";

export const selectUsers = function(){
    let sql = "select nickname,userPic from users;";
    return executeSql(sql);
}

export const selectUsersAll = function(){
    let sql = "select username ,nickname ,email ,userPic,password from users;";
    return executeSql(sql);
}